package com.ruoyi.advertising.service.lmpl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.advertising.mapper.ExpressAdvertisingMapper;
import com.ruoyi.advertising.domain.ExpressAdvertising;
import com.ruoyi.advertising.service.IExpressAdvertisingService;

/**
 * 公告Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-08-22
 */
@Service
public class ExpressAdvertisingServiceImpl implements IExpressAdvertisingService 
{
    @Autowired
    private ExpressAdvertisingMapper expressAdvertisingMapper;

    /**
     * 查询公告
     * 
     * @param id 公告主键
     * @return 公告
     */


    /**
     * 查询公告列表
     * 
     * @param expressAdvertising 公告
     * @return 公告
     */
    @Override
    public List<ExpressAdvertising> selectExpressAdvertisingList(ExpressAdvertising expressAdvertising)
    {
        return expressAdvertisingMapper.selectExpressAdvertisingList(expressAdvertising);
    }

    @Override
    public void add(ExpressAdvertising expressAdvertising) {
        expressAdvertisingMapper.add(expressAdvertising);
    }

    /**
     * 新增公告
     * 
     * @param expressAdvertising 公告
     * @return 结果
     */


    /**
     * 修改公告
     * 
     * @param expressAdvertising 公告
     * @return 结果
     */


    /**
     * 批量删除公告
     * 
     * @param ids 需要删除的公告主键
     * @return 结果
     */


    /**
     * 删除公告信息
     * 
     * @param id 公告主键
     * @return 结果
     */


    @Override
    public void shangjia(Integer id) {
        expressAdvertisingMapper.shangjia(id);
    }

    @Override
    public void axiajia(Integer id) {
         expressAdvertisingMapper.xiajia(id);
    }

    @Override
    public void congxintuisono(ExpressAdvertising expressAdvertising) {
       expressAdvertisingMapper.congxin(expressAdvertising);
    }

    @Override
    public void shan(Integer id) {
       expressAdvertisingMapper.shan(id);
    }

    @Override
    public void guoqi(Integer id) {
        expressAdvertisingMapper.guoqi(id);
    }
}
